﻿using System;
using System.Collections.Generic;
using System.ComponentModel; 
using NTTDATA.BEENChina.ResultCertification.Config;

namespace NTTDATA.BEENChina.ResultCertification.Checker.Name
{
    [Serializable]
    [VerfityAttribute(Id = "VerfityN0001", Name = "记载率_未(有)记载", CategoryType = EnumCategoryType.姓名, Model = true)]
    public class VerfityN0001 : VerfityOneResult
    { 
        /// <summary>
        /// 是否包含指定付签
        /// </summary>
        private bool _entryResultEmpty = true;
        /// <summary>
        /// 
        /// </summary>
        [Category("未(有)记载"), Description("true:录入结果为空，false:录入结果不为空")]
        public bool EntryResultEmpty
        {
            get { return _entryResultEmpty; }
            set { _entryResultEmpty = value; }
        }
        
        public override bool CheckResult(List<List<string>> result, string entryCommon)
        {
            var bresult = CheckEmpty(result, entryCommon,_entryResultEmpty);

            
            if (bresult)
            {
                System.Console.WriteLine("VerfityN0001");
            }

            return bresult;
        }


    }
}